package com.bookStore.model;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Books entity. @author MyEclipse Persistence Tools
 */

public class Books implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String author;
	private BigDecimal publisherId;
	private Timestamp publishDate;
	private String isbn;
	private Double unitPrice;
	private String contentDescription;
	private String toc;
	private BigDecimal categoryId;
	private BigDecimal clicks;

	// Constructors

	/** default constructor */
	public Books() {
	}

	/** minimal constructor */
	public Books(Integer id, String title, String author,
			BigDecimal publisherId, Timestamp publishDate, String isbn,
			Double unitPrice, BigDecimal categoryId, BigDecimal clicks) {
		this.id = id;
		this.title = title;
		this.author = author;
		this.publisherId = publisherId;
		this.publishDate = publishDate;
		this.isbn = isbn;
		this.unitPrice = unitPrice;
		this.categoryId = categoryId;
		this.clicks = clicks;
	}

	/** full constructor */
	public Books(Integer id, String title, String author,
			BigDecimal publisherId, Timestamp publishDate, String isbn,
			Double unitPrice, String contentDescription, String toc,
			BigDecimal categoryId, BigDecimal clicks) {
		this.id = id;
		this.title = title;
		this.author = author;
		this.publisherId = publisherId;
		this.publishDate = publishDate;
		this.isbn = isbn;
		this.unitPrice = unitPrice;
		this.contentDescription = contentDescription;
		this.toc = toc;
		this.categoryId = categoryId;
		this.clicks = clicks;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public BigDecimal getPublisherId() {
		return this.publisherId;
	}

	public void setPublisherId(BigDecimal publisherId) {
		this.publisherId = publisherId;
	}

	public Timestamp getPublishDate() {
		return this.publishDate;
	}

	public void setPublishDate(Timestamp publishDate) {
		this.publishDate = publishDate;
	}

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public Double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getContentDescription() {
		return this.contentDescription;
	}

	public void setContentDescription(String contentDescription) {
		this.contentDescription = contentDescription;
	}

	public String getToc() {
		return this.toc;
	}

	public void setToc(String toc) {
		this.toc = toc;
	}

	public BigDecimal getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(BigDecimal categoryId) {
		this.categoryId = categoryId;
	}

	public BigDecimal getClicks() {
		return this.clicks;
	}

	public void setClicks(BigDecimal clicks) {
		this.clicks = clicks;
	}

}